package com.tpc.dao.core;

/**
 * @version 0.0.1
 * @author frederic.fortin
 * @modified 2010-09-10
 */
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.Date;

public class Url implements IsSerializable {

    private int id;
    private String url;
    private String description;
    private int defaut;
    private String TYPE;
    private int life;
    private Date created_date;
    private Date modified_date;
    private int created_by;
    private int modified_by;

    public Url() {

    }

    public Url(int idp,String descriptionp,String urlp,int defautp,int lifep,Date createddatep,Date modifieddatep,int createdbyp,int modifiedbyp) {
        setId(idp);
        setDescription(descriptionp);
        setUrl(urlp);
        setDefaut(defautp);
        setLife(lifep);
        setCreatedDate(createddatep);
        setModifiedDate(modifieddatep);
        setCreatedBy(createdbyp);
        setModifiedBy(modifiedbyp);
    }

    public String getDescription() {
        return description;
    }
    public void setDescription(String param) {
        description = param;
    }

    public String getUrl() {
        return url;
    }
    public void setUrl(String param) {
        url = param;
    }

    public int getDefaut() {
        return defaut;
    }
    public void setDefaut(int param) {
        defaut = param;
    }

    public String getType() {
        return TYPE;
    }
    public void setType(String param) {
        TYPE = param;
    }

    /** ALL TPC_OBJECT HAVE THOSE METHODS / FIELDS **/
    public int getId() {
        return id;
    }
    public void setId(int param) {
        id = param;
    }

    public int getLife() {
        return life;
    }
    public void setLife(int param) {
        life = param;
    }

    public Date getCreatedDate() {
        return created_date;
    }
    public void setCreatedDate(Date param) {
        created_date = param;
    }

    public int getCreatedBy() {
        return created_by;
    }
    public void setCreatedBy(int param) {
        created_by = param;
    }

    public Date getModifiedDate() {
        return modified_date;
    }
    public void setModifiedDate(Date param) {
        modified_date = param;
    }

    public int getModifiedBy() {
        return modified_by;
    }
    public void setModifiedBy(int param) {
        modified_by = param;
    }

}
